package com.netease.cloud.cm.data.provider;

import com.netease.cloud.cm.util.CommonStringUtils;
import org.testng.annotations.DataProvider;

/**
 * 管理员信息数据源：为测试用例提供测试数据源
 */
public class AdminUserDataProvider {

	@DataProvider(name = "NCM_AdminUser_Create_Delete_200_Test")
	public static Object[][] createAndDeleteAdminUserTest() {
		return new Object[][]{
				{
						CommonStringUtils.getConfig("ncm.cmtest.namespaceId"),
						CommonStringUtils.getConfig("ncm.cmtest.namespace"),
				},
		};
	}

	@DataProvider(name = "NCM_AdminUser_Update_200_Test")
	public static Object[][] updateAdminUserTest() {
		return new Object[][]{
				{
						CommonStringUtils.getConfig("ncm.adminuser.id"),
						CommonStringUtils.getConfig("ncm.adminuser.username"),
						CommonStringUtils.getConfig("ncm.adminuser.password"),
						CommonStringUtils.getConfig("ncm.cmtest.namespaceId"),
						CommonStringUtils.getConfig("ncm.cmtest.namespace"),
						CommonStringUtils.getConfig("ncm.adminuser.roletype"),
						CommonStringUtils.getConfig("ncm.adminuser.email"),
						CommonStringUtils.getConfig("ncm.adminuser.enbalestatus")
				},
		};
	}


	@DataProvider(name = "NCM_AdminUser_List_200_Test")
	public static Object[][] listAdminUserTest() {
		return new Object[][]{
				{
				}
		};
	}

}
